package by.pavlyukevich.paymentsystem.services.erip.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import by.pavlyukevich.paymentsystem.dataaccess.erip.impl.EripNameDaoImpl;
import by.pavlyukevich.paymentsystem.datamodel.erip.EripName;
import by.pavlyukevich.paymentsystem.datamodel.payment.PaymentDetail;
import by.pavlyukevich.paymentsystem.services.erip.EripNameService;
import by.pavlyukevich.paymentsystem.services.impl.AbstractServiceImpl;

@Service
public class EripNameServiceImpl extends AbstractServiceImpl<Integer, EripName, EripNameDaoImpl>
		implements EripNameService {

	@Override
	public List<EripName> getEripsByPayment(PaymentDetail paymentDetail) {
		return dao.getEripsByPayment(paymentDetail);
	}
}
